package tpl;

import java.awt.Graphics;
import java.awt.Image;
import javax.swing.JPanel;

public class tplCase extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 4291887756278808467L;
	private Image m_background;
	/**
	 * Create the panel.
	 */
	public tplCase() {
		
	}
	
	public void paintComponent(Graphics g){
//		super.paintComponents(g);
//		super.paint(g);
		 g.drawImage(getM_background(),0,0,this);
		 
		 g.drawOval(0, 0, 0, 0);
//		super.repaint();
		 
	}

	public void setM_background(Image m_background) {
		this.m_background = m_background;
	}

	public Image getM_background() {
		return m_background;
	}

}
